﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Medianamik.UI.Web.Membership.Views;
using Medianamik.UI.Web.MVP.Presentation;

namespace Medianamik.UI.Web.Membership
{
    public class MembershipRegistry : StructureMap.Configuration.DSL.Registry
    {
        public MembershipRegistry()
        {
            ForRequestedType<ModulePresenter<IUserList>>()
                .TheDefaultIsConcreteType<CategoriesPresenter>();
            ForRequestedType<ICategoryRepository<CategoryBase>>()
                .TheDefaultIsConcreteType<CategoriesRepository>();
        }
    }
}
